package org.galaxyworld.flycode.events;

import java.util.EventObject;

public class MainWindowEvent extends EventObject {

    public enum Id {
        Opened,
        Closing
    }

    private Id id;

    public MainWindowEvent(Id id, Object source) {
        super(source);

        this.id = id;
    }

    public Id getId() {
        return id;
    }
}
